package com.jiazixuan.stock;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication
@MapperScan("com.jiazixuan.stock.mapper")//扫描持久层mapper接口，生成代理对象，并维护到spring的IOC容器中
@EnableTransactionManagement
public class BachendApp {
    public static void main(String[] args) {
        SpringApplication.run(BachendApp.class,args);
    }
}
